home *** CD-ROM | disk | FTP | other *** search
/ Komputer for Alle 2004 E…tra 100 Bedste Programmer / K-CD_2004_Ekstra_100_Gratis_Programmer.iso / Windows / X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Win2K Page File Clear 1.xpl < prev    next >
Encoding:
XSetup plugin  |  2004-03-02  |  2.7 KB  |  51 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH 1"="Startup/Shutdown\Shutdown\Windows NT/2K/XP\30) Windows Shutdown"
  5. "UIPATH 2"="Virtual Paranoia\Security related"
  6. "NAME"="Clear Paging file"
  7. "VERSION"="1.01"
  8. "OSVERSION"="0001011"
  9. "LANGUAGE"="VBScript"
  10. "TEXT 1"="Clear Paging file on system shutdown"
  11. "DESCRIPTION 1"="Sometimes your computer needs more memory than you actually have in hardware (DDR-RAM Chips etc.). For example, all the application you are currently use require 300 MB of RAM while you only have 256 MB RAM available. In this case, Windows will use a file on your hard disk and spoof the application so they think they have more memory than there is physically on your computer. This technique is called Swapping or Virtual Memory. "
  12. "DESCRIPTION 2"="The problem with this is, that there might be sensitive information in this paging file uses as virtual memory. For example, if you write your application for a new job on the computer of your current company using Word, your boss won't be happy to find this out. If you don't save that document and just print it out, there is normally no evidence on this computer that you ever edited that file."
  13. "DESCRIPTION 3"="However, if the computer uses a swap file the file maybe contains some sentences from this application since Word thought it would only store it inside the RAM. When you turn off your computer, the RAM is removed from electricity and no data is left over. However, the hard disk where the paging file is stored can easily be read on a later time. "
  14. "DESCRIPTION 4"="When this option is turned on, Windows will overwrite your paging file on a system shutdown with zeros so there can be no evidence whatsoever found in the file."
  15. "DESCRIPTION 5"="Only users concerned about their privacy should turn on this feature since the system shutdown takes a lot more time if this option is activated. "
  16. "AUTHOR"="Xteq Systems"
  17. "CONTACTURL"="http://www.xteq.com/"
  18. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  19. "COMMENT 1"="http://www.tburke.net/info/regentry/topics/29930.htm"
  20.  
  21.  
  22. sV1="HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\ClearPageFileAtShutdown"
  23.  
  24. cTxt="You have turned this option ON. Please note that the system shutdown will now take much longer since Windows will overwrite the entire paging file with Zeros." 
  25.  
  26. Sub Plugin_Initialize 
  27.   i=RegReadValue(sV1)
  28.   if i=1 then SetUIElement 1,true
  29. End Sub
  30.  
  31. Sub Plugin_CheckData(ElementIndex)
  32. End Sub
  33.  
  34. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  35.  b=GetUIElement(1)
  36.  if b=true then
  37.     Call RegWriteValue(sV1,1,2)
  38.     Call MsgWarning(cTxt)
  39.  else
  40.    Call RegWriteValue(sV1,0,2)
  41.  end if
  42.  
  43.  Call Restart()
  44. End Sub
  45.  
  46. Sub Plugin_Terminate 
  47. End Sub
  48.  
  49.  
  50.  
  51.